package work.chenbo.mybatis.customize.pojo;

import lombok.Data;
import work.chenbo.mybatis.customize.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ChenBo
 * @className BoundSql
 * @date 2020/12/24
 */
@Data
public class BoundSql {

    private String sqlTest;

    private List<ParameterMapping> parameterMappingList = new ArrayList<>();

    public BoundSql(String sqlTest, List<ParameterMapping> parameterMappings) {
        this.sqlTest = sqlTest;
        this.parameterMappingList=parameterMappings;
    }
}
